package com.mutual.assistance.task.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author chenyuxin
 * @version 1.0
 * @description 更新用户评论
 * @date 2023/5/5 21:58
 */
@Data
@ApiModel(value = "更新用户评论参数", description = "更新用户评论参数")
public class UpdateCommentParamsVO {

    @ApiModelProperty("任务id")
    @NotBlank(message = "任务id不能为空")
    private String taskId;

    @ApiModelProperty("发布者用户名")
    @NotBlank(message = "用户名不能为空")
    private String publisher;

    @ApiModelProperty("评论id")
    @NotBlank(message = "有修改的评论id不能为空")
    private String commentId;

    @ApiModelProperty("修改的内容")
    @NotBlank(message = "要修改的内容不能为空")
    private String content;
}
